  <div class="row">
    <div class="visible-xs-12">
      <div class="mgt10"></div>
    </div>
    <div class="hidden-xs">
      <div class="mgt35"></div>
    </div>
  </div>

  <%- if controller_action?(:topics_show) %>
      <%- if can? :manage, @topic %>
      <div class="row text-left">
        <div class="mgb8">主题管理</div>
        <div class="mgb5"><%= link_to "> 添加文章", new_article_topic_path, 'data-no-turbolink' => true %></div>
        <div class="mgb5"><%= link_to "> 编辑主题", edit_topic_path(@topic), 'data-no-turbolink' => true  %></div>
        <div class="mgb5"><%= link_to "> 删除主题", topic_path(@topic), method: :DELETE, data: {confirm: '确定删除？'}, 'data-no-turbolink' => true  %></div>
        <hr />
      </div>
      <% end %>
  <% end %>

  <%- if controller_action?(:articles_show) %>
      <%- if can? :manage, @article %>
          <div class="row text-left">
            <div class="mgb8">文章管理</div>
            <div class="mgb5"><%= link_to "> 编辑文章", edit_article_path(@article), 'data-no-turbolink' => true  %></div>
            <div class="mgb5"><%= link_to "> 删除文章", article_path(@article), method: :DELETE, data: {confirm: '确定删除？'} %></div>
            <hr />
          </div>
      <% end %>
  <% end %>

  <div class="row text-left">
    <div class="mgb8">网站导航</div>
    <div class="mgb5"><%= link_to '> 标签广场', tags_path %></div>
    <%- if current_user %>
        <div class="mgb5"><%= link_to '> 我的主题', user_topics_path(current_user) %></div>
        <div class="mgb5"><%= link_to '> 我的关注', user_follows_path(current_user) %></div>
    <% end %>
  </div>
